package com.zdd.ehe.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhuiZhu
 * @since 2023-05-15
 */
@TableName("r_log")
@ApiModel(value = "RLog对象", description = "")
public class RLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号")
    private Long id;

    @ApiModelProperty("操作人")
    private String operator;

    @ApiModelProperty("模块名称")
    private String module;

    @ApiModelProperty("功能名称")
    private String function;

    @ApiModelProperty("操作结果")
    private String result;

    @ApiModelProperty("操作时间")
    private LocalDateTime time;

    @ApiModelProperty("记录状态")
    private String status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public String getFunction() {
        return function;
    }

    public void setFunction(String function) {
        this.function = function;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public LocalDateTime getTime() {
        return time;
    }

    public void setTime(LocalDateTime time) {
        this.time = time;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "RLog{" +
            "id = " + id +
            ", operator = " + operator +
            ", module = " + module +
            ", function = " + function +
            ", result = " + result +
            ", time = " + time +
            ", status = " + status +
        "}";
    }
}
